Skip to content

added state management and web3 integration#1

Open
Zayen-X wants to merge 3 commits intodevelopfrom
state-management
Open

added state management and web3 integration#1
Zayen-X wants to merge 3 commits intodevelopfrom
state-management

Conversation

@Zayen-X
Copy link

@Zayen-X Zayen-X commented Dec 24, 2021

Added redux + redux toolkit for state management.
Pulling gohm balance from contract rn.

Whats left:

  • Need to consolidate different TokenData & TokenLists.

What would be ideal is having a data structure to represent TokenData as Uniswap, but have a easy switch between networks rather than baking it into the token itself.

@Zayen-X Zayen-X requested a review from a user December 24, 2021 09:13
import { SupportedChainId } from "../constants/chains";
import { RootState } from "./store";
import { tokens } from "../contracts/contracts";
import { GOHM } from "../typechain";
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realized that we don't need gohm specific ABIs. I will change this to be a standard ERC20 ABI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant